home *** CD-ROM | disk | FTP | other *** search
/ Secrets of Stargate / STARGATE.iso / mac / STARGATE (5MB Macintosh) / STARGATE (5MB Macintosh).DXR / 00125.ls < prev    next >
Encoding:
Text File  |  1994-10-19  |  1.1 KB  |  49 lines

  1. on idle
  2. end
  3.  
  4. on exitFrame
  5.   go(the frame)
  6. end
  7.  
  8. on enterFrame
  9.   global gOnPC, put, gSysVol, gMovieStartMod
  10.   if the pauseState = 0 then
  11.     set the visible of sprite 35 to 1
  12.     set the puppet of sprite 35 to 1
  13.     stopCursor()
  14.     set the volume of sprite 35 to gSysVol
  15.     preRollMov(35)
  16.     set earlyExit to 0
  17.     set cont to 1
  18.     repeat while cont
  19.       set the movieRate of sprite 35 to 1
  20.       updateStage()
  21.       if the movieRate of sprite 35 > 0 then
  22.         exit repeat
  23.       end if
  24.     end repeat
  25.     repeat while the movieRate of sprite 35 > 0
  26.       if the mouseDown = 1 then
  27.         set the movieRate of sprite 35 to 0
  28.         set earlyExit to 1
  29.         exit repeat
  30.       end if
  31.       updateStage()
  32.     end repeat
  33.     set the movieRate of sprite 35 to 0
  34.     set the visible of sprite 35 to 0
  35.     set the puppet of sprite 35 to 0
  36.     if earlyExit then
  37.       spinCursor()
  38.       dissolveEffect()
  39.       go("Intro4")
  40.     else
  41.       spinCursor()
  42.       dissolveEffect()
  43.       puppetPalette(the framePalette)
  44.       go("Intro3")
  45.       puppetPalette(0)
  46.     end if
  47.   end if
  48. end
  49.